<template>
  <tab-page v-model="activeKey" :closable="closable">
    <pane label='标签一' name="1">
      <h1>ReactNative </h1>
      <p>使用JavaScript和React编写原生移动应用</p>
    </pane>
    <pane label='标签二' name="2">标签二的内容</pane>
    <pane label='标签三' name="3">标签三的内容</pane>
  </tab-page>
</template>
<script>
import TabPage from './subComponents/TabPage';
import Pane from './subComponents/Pane'
export default {
  components:{
    TabPage,
    Pane,
  },
  data(){
    return{
      activeKey: '1',
      closable:true,//标签是否显示关闭按钮
    }
  }
}
</script>
<style scoped>

</style>


